/****** Object:  StoredProcedure [dbo].[spInsertAccount]    Script Date: 05/29/2012 19:03:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[spInsertAccount]') AND type in (N'P', N'PC'))
BEGIN
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[spInsertAccount]
	@MaTaiKhoan int,
	@TenTaiKhoan nvarchar(50),
	@HinhDaiDien nvarchar(50),
AS
	INSERT INTO TaiKhoan
	(MaTaiKhoan, TenTaiKhoan, HinhDaiDien)
    VALUES
	(@MaTaiKhoan, @TenTaiKhoan, @HinhDaiDien)	
' 
END
GO